home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Time / s / MonoTime < prev   
Text File  |  1995-08-26  |  1KB  |  28 lines

  1. ;   ####             #    #     # #
  2. ;   #   #            #    #       #          The FreeWare C library for
  3. ;   #   #  ##   ###  #  # #     # ###             RISC OS machines
  4. ;   #   # #  # #     # #  #     # #  #   ___________________________________
  5. ;   #   # ####  ###  ##   #     # #  #
  6. ;   #   # #        # # #  #     # #  #    Please refer to the accompanying
  7. ;   ####   ### ####  #  # ##### # ###    documentation for conditions of use
  8. ;   ________________________________________________________________________
  9. ;
  10. ;   File:    Misc.MonoTime.s
  11. ;   Author:  Copyright © 1993 Jason Williams
  12. ;   Version: 1.00 (14 May 1993)
  13. ;   Purpose: Read time since startup in centiseconds (OS_ReadMonotonicTime)
  14. ;            (This is used in conjunction with Wimp_PollIdle)
  15.  
  16.         GET     ^.h.regdefs
  17.         GET     ^.h.swinos
  18.         GET     ^.h.macros
  19.  
  20.         PREAMBLE
  21.         STARTCODE Time_Monotonic
  22. ;
  23.         MOV  ip, lr
  24.         SWI  SWI_OS_ReadMonotonicTime + XOS_Bit
  25.         MOVS pc, ip
  26. ;
  27.         END
  28.